package com.check.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import com.check.dao.DictionaryDao;
import com.check.pojo.Dictionary;
import com.check.service.DictionaryService;

@Service("dictionaryService")
public class DictionaryServiceImpl  implements DictionaryService{

	@Autowired
	@Qualifier("dictionaryDao")
	private DictionaryDao dictionaryDao;
	
	public List<Dictionary> findByCode(String d_code) {
		List<Dictionary> list = dictionaryDao.findByCode(d_code);
		return list;
	}

}
